<?php 
defined('_JEXEC') or die('Restricted access'); 
?>
	<link rel="StyleSheet" href="components/com_surveys/javascript/dtree.css" type="text/css" />
	<script type="text/javascript" src="components/com_surveys/javascript/dtree.js"></script>
	
	<table width="100%" cellspacing='3' cellpadding="4" >
	<tr><td valign='top' width="160" >
	<table width='100%' cellpadding='5' height='100%' class='menu_table'>
		<tr>
			<td>

        <a href="javascript: d.openAll();"><?php echo JText::_('OPEN_ALL', true) ?></a> | <a href="javascript: d.closeAll();"><?php echo JText::_('CLOSE_ALL', true )?></a><br />
	<br />
	<script type="text/javascript">
		d = new dTree('d');

		d.add( 0, -1, '&nbsp;<?php echo JText::_("COM_SURVEYS_SURVEY"); ?>', 'index.php?option=com_surveys', '', '', 'components/com_surveys/images/icons/small/ijoomla.png' ) ;

		d.add( 800, 0, '&nbsp;<?php echo JText::_("COM_SURVEYS_SETTINGS"); ?>', '', '', '', 'components/com_surveys/images/icons/small/settings.png', 'components/com_surveys/images/icons/small/settings.png' ) ;
	
		d.add( 801, 800, '&nbsp;<?php echo JText::_("COM_SURVEYS_GENERAL"); ?>', 'index.php?option=com_surveys&controller=config&tab=0', '', '', 'components/com_surveys/images/icons/small/settings.png') ;
		d.add( 803, 800, '&nbsp;<?php echo JText::_("COM_SURVEYS_CSS"); ?>', 'index.php?option=com_surveys&controller=config&tab=1', '', '', 'components/com_surveys/images/icons/small/css.png', 'components/com_surveys/images/icons/small/css.png' ) ;
		d.add( 804, 800, '&nbsp;<?php echo JText::_("COM_SURVEYS_LANGUAGE"); ?>', 'index.php?option=com_surveys&controller=config&tab=2' ,'' ,'' ,'components/com_surveys/images/icons/small/language.png', 'components/com_surveys/images/icons/small/language.png' ) ;
		d.add( 805, 800, '&nbsp;<?php echo JText::_("COM_SURVEYS_EMAIL"); ?>', 'index.php?option=com_surveys&controller=config&tab=3', '', '', 'components/com_surveys/images/icons/small/email.png', 'components/com_surveys/images/icons/small/email.png' ) ;
	
		d.add( 810, 0  , '&nbsp;<?php echo JText::_("COM_SURVEYS_MANAGE_SURVEYS"); ?>', '', '', '', 'components/com_surveys/images/icons/small/surveys.png', 'components/com_surveys/images/icons/small/surveys.png') ;
		d.add( 811, 810, '&nbsp;<?php echo JText::_("COM_SURVEYS_SURVEYS_MENU"); ?>', 'index.php?option=com_surveys&controller=surveys', '', '', 'components/com_surveys/images/icons/small/surveys.png', 'components/com_surveys/images/icons/small/surveys.png' ) ;
		d.add( 812, 810, '&nbsp;<?php echo JText::_("COM_SURVEYS_PAGES"); ?>', 'index.php?option=com_surveys&controller=pages', '', '', 'components/com_surveys/images/icons/small/pages.png', 'components/com_surveys/images/icons/small/pages.png' ) ;
		d.add( 813, 810, '&nbsp;<?php echo JText::_("COM_SURVEYS_QUESTIONS"); ?>', 'index.php?option=com_surveys&controller=questions', '', '', 'components/com_surveys/images/icons/small/questions.png', 'components/com_surveys/images/icons/small/questions.png' ) ;
		d.add( 814, 810, '&nbsp;<?php echo JText::_("COM_SURVEYS_SKIP_ACTIONS"); ?>', 'index.php?option=com_surveys&controller=skip', '', '', 'components/com_surveys/images/icons/small/skip_actions.png', 'components/com_surveys/images/icons/small/skip_actions.png' ) ;
	
		d.add( 820, 0  , '&nbsp;<?php echo JText::_("COM_SURVEYS_DOCUMENTAIONS"); ?>', '', '', '', 'components/com_surveys/images/icons/small/support.png', 'components/com_surveys/images/icons/small/support.png' ) ;
		d.add( 821, 820, '&nbsp;<?php echo JText::_("COM_SURVEYS_WEBSITE"); ?>', 'http://www.ijoomla.com', 'iJoomla website', '_blank', 'components/com_surveys/images/icons/small/ijoomla.png' ) ;
		d.add( 822, 820, '&nbsp;<?php echo JText::_("COM_SURVEYS_LATEST_VERSION"); ?>', 'http://www.ijoomla.com/redirect/general/latestversion.htm', 'Latest Version', '_blank', 'components/com_surveys/images/icons/small/star_green_small.png' ) ;
		d.add( 823, 820, '&nbsp;<?php echo JText::_("COM_SURVEYS_SUPPORT_HELP"); ?>', 'http://www.ijoomla.com/redirect/general/support.htm', 'iJoomla Support', '_blank', 'components/com_surveys/images/icons/small/support.png') ;
		d.add( 824, 820, '&nbsp;<?php echo JText::_("COM_SURVEYS_FORUMS"); ?>', 'http://www.ijoomla.com/redirect/survey/forum.htm', 'iJoomla Forum', '_blank', 'components/com_surveys/images/icons/small/forum.png' ) ;
		d.add( 825, 820, '&nbsp;<?php echo JText::_("COM_SURVEYS_MANUAL"); ?>', 'http://www.ijoomla.com/redirect/survey/manual.htm', 'iJoomla Surveys Manual', '_blank','components/com_surveys/images/icons/small/manual.png' ) ;
		d.add( 826, 820, '&nbsp;<?php echo JText::_("COM_SURVEYS_OTHER_COMPONENTS"); ?>', 'http://www.ijoomla.com/redirect/general/othercomponents.htm', 'iJoomla Other Components', '_blank', 'components/com_surveys/images/icons/small/other_components.png' ) ;
		d.add( 827, 820, '&nbsp;<?php echo JText::_("COM_SURVEYS_TEMPLATES"); ?>', 'http://www.ijoomla.com/redirect/general/templates.htm', 'iJoomla Templates', '_blank', 'components/com_surveys/images/icons/small/templates.png' ) ;
	
		
		d.add( 830, 0, '&nbsp;<?php echo JText::_("COM_SURVEYS_ABOUT"); ?>', 'index.php?option=com_surveys&controller=about', '', '', 'components/com_surveys/images/icons/small/about.png' ) ;

		document.write( d );

	</script>
			  </td></tr></table>
	</td><td valign='top' align='left'>